package com.zangyi.common;

public class Collection {
    private Integer colId;

    private Integer comId;

    private String title;

    private String comment;

    private String username;

    private String collectionUsername;

    public Integer getColId() {
        return colId;
    }

    public void setColId(Integer colId) {
        this.colId = colId;
    }

    public Integer getComId() {
        return comId;
    }

    public void setComId(Integer comId) {
        this.comId = comId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getCollectionUsername() {
        return collectionUsername;
    }

    public void setCollectionUsername(String collectionUsername) {
        this.collectionUsername = collectionUsername == null ? null : collectionUsername.trim();
    }

    public Collection(Integer comId, String title, String comment, String username, String collectionUsername) {
        this.comId = comId;
        this.title = title;
        this.comment = comment;
        this.username = username;
        this.collectionUsername = collectionUsername;
    }

    public Collection() {
    }
}